#ifndef CMAINWINDOW_H
#define CMAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

struct MainWindowPrivate;

class CMainWindow : public QMainWindow
{
    Q_OBJECT

public:
    CMainWindow(QWidget *parent = nullptr);
    virtual ~CMainWindow();

protected slots:
	void onThemeActionTriggered();
	void onStyleManagerStylesheetChanged();
    void onThemeColorButtonClicked();
    void onWidgetButtonClicked();

protected:
    bool event(QEvent *event) override;
    bool eventFilter(QObject *watched, QEvent *event) override;

private:
    Ui::MainWindow *ui;
    MainWindowPrivate* d;
    friend struct MainWindowPrivate;// pimpl
};
#endif // CMAINWINDOW_H

